<?php
/**
 * User: lsx
 * Date: 2017/6/17
 * Time: 11:02
 * Progress:0%
 */

namespace library\tencent\wechat\wechat_index;

use library\tencent\wechat\admin_wechat\WechatMpService;
use library\tencent\wechat\common\WechatMP;
use think\Db;

abstract class UserInfoManagement
{
    private function __construct() { }
    public static function userInfo($openid){
       $access_token=WechatMpService::getAccessToken();
       return WechatMP::getUserInfo($access_token,$openid);
    }

}